#ifndef APPACTION_H
#define APPACTION_H
#include "AppView.hpp"
/**
 * Class that need to be implemented to perform action send by OpenNI and NITE
 */
class AppAction {
public:
  AppAction() {};
  void setView(AppView* v){_view = v;}
  virtual void over(int x, int y) {}
  virtual void click(int x, int y) {}
  virtual ~AppAction() = 0;
public:
  AppView* _view;
};

#endif
